package com.demo.dao;

import java.util.List;

import com.demo.entity.Userinfo;
import com.demo.otherbeans.PagesBean;

public interface UserDao extends HibernateBaseDao{
	public  void saveUser(Userinfo userinfo); 
	public List<Userinfo> findUser(String hql);
	public PagesBean findUserPageByHql(String hql,int currentPage ,int pageSize);
	public PagesBean findUserPageBySql(String hql,int currentPage ,int pageSize);
}
